package net.roseparadise.dao;
// default package

import java.util.List;

import net.roseparadise.model.Message;

public interface MessageDAO{
        
    public void save(Message transientInstance);
    
	public void delete(Message persistentInstance);
    
    public Message findById( java.lang.Integer id);    
    
    public List<Message> findByExample(Message instance);
    
    public List findByProperty(String propertyName, Object value);

	public List<Message> findByGuestid(Object guestid);
	
	public List<Message> findByGuestname(Object guestname);
	
	public List<Message> findByCreatedate(Object createdate);
	
	public List<Message> findByUpdatedate(Object updatedate);
	
	public List<Message> findByContent(Object content);	

	public List findAll();
	
    public Message merge(Message detachedInstance) ;

}